#include <stdio.h>

int main()
{
    
    FILE*fp=fopen("hello.txt","w");
    if(fp ==NULL)
    {
      perror("fopen()  failed");
      return 1;

    }
    printf(fp,"Hello World!\n");

    fclose(fp);
    return(0);

}